package com.qf.zyh.services.Impl;

import com.qf.zyh.dao.EmpMapper;
import com.qf.zyh.entity.Emp;
import com.qf.zyh.services.EmpSerivces;

import java.util.List;

public class EmpSerImpl implements EmpSerivces {
   private EmpMapper em;

    public EmpMapper getEm() {
        return em;
    }

    public void setEm(EmpMapper em) {
        this.em = em;
    }

    @Override
    public List<Emp> getAll() {
        return em.getAll();
    }

    @Override
    public Emp getname(String name) {
        return em.getname(name);
    }
}
